<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<meta http-equiv="cache-control" content="no-cache">
<title>Genivia - Conversion functions</title>
<link href="genivia_tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="genivia_content.css" rel="stylesheet" type="text/css">
</head>
<body>
<div id="top">
 <div id="titlearea">
  <table height="72px" width="100%" cellspacing="0" cellpadding="0">
   <tbody>
    <tr>
     <td width="10%">&nbsp;</td>
     <td width="175px"><a href="https://www.genivia.com"><img alt="Genivia" src="GeniviaLogo2_trans_noslogan.png"/></a></td>
     <td class="tab_home"><a href="https://www.genivia.com">Home</a></td>
     <td class="tab_home"><a href="https://www.genivia.com/docs.html">Documentation</a></td>
     <td>
      <div style="float: right; font-size: 18px; font-weight: bold;">Conversion functions</div>
      <br>
      <div style="float: right; font-size: 10px;">updated Tue Apr 20 2021 by Robert van Engelen</div>
     </td>
     <td width="10%">&nbsp;</td>
    </tr>
   </tbody>
  </table>
 </div>
<!-- Generated by Doxygen 1.8.11 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('group__group__s2s.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">Conversion functions</div>  </div>
</div><!--header-->
<div class="contents">

<p>This module defines conversion functions of values of various types to and from strings.  
<a href="#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga69c693405782c9b36da506924d1e774b"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__s2s.html#ga69c693405782c9b36da506924d1e774b">soap_s2byte</a> (struct <a class="el" href="structsoap.html">soap</a> *<a class="el" href="structsoap.html">soap</a>, const char *string, char *value)</td></tr>
<tr class="memdesc:ga69c693405782c9b36da506924d1e774b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a decimal string to a signed 8 bit byte (char) integer value.  <a href="#ga69c693405782c9b36da506924d1e774b">More...</a><br /></td></tr>
<tr class="separator:ga69c693405782c9b36da506924d1e774b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac66dac26a9ee4b6c2c4ad037bfb86c66"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__s2s.html#gac66dac26a9ee4b6c2c4ad037bfb86c66">soap_s2short</a> (struct <a class="el" href="structsoap.html">soap</a> *<a class="el" href="structsoap.html">soap</a>, const char *string, short *value)</td></tr>
<tr class="memdesc:gac66dac26a9ee4b6c2c4ad037bfb86c66"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a decimal string to a signed 16 bit integer value.  <a href="#gac66dac26a9ee4b6c2c4ad037bfb86c66">More...</a><br /></td></tr>
<tr class="separator:gac66dac26a9ee4b6c2c4ad037bfb86c66"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafcc3cabff72e6ef124a577175793c943"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__s2s.html#gafcc3cabff72e6ef124a577175793c943">soap_s2int</a> (struct <a class="el" href="structsoap.html">soap</a> *<a class="el" href="structsoap.html">soap</a>, const char *string, int *value)</td></tr>
<tr class="memdesc:gafcc3cabff72e6ef124a577175793c943"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a decimal string to a signed 32 bit integer value.  <a href="#gafcc3cabff72e6ef124a577175793c943">More...</a><br /></td></tr>
<tr class="separator:gafcc3cabff72e6ef124a577175793c943"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1b175ee7d378a72575539bc010ce207c"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__s2s.html#ga1b175ee7d378a72575539bc010ce207c">soap_s2long</a> (struct <a class="el" href="structsoap.html">soap</a> *<a class="el" href="structsoap.html">soap</a>, const char *string, long *value)</td></tr>
<tr class="memdesc:ga1b175ee7d378a72575539bc010ce207c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a decimal string to a signed <code>long</code> integer value.  <a href="#ga1b175ee7d378a72575539bc010ce207c">More...</a><br /></td></tr>
<tr class="separator:ga1b175ee7d378a72575539bc010ce207c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad5484b14580f14515e395e4ad83847ae"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__s2s.html#gad5484b14580f14515e395e4ad83847ae">soap_s2LONG64</a> (struct <a class="el" href="structsoap.html">soap</a> *<a class="el" href="structsoap.html">soap</a>, const char *string, <a class="el" href="group__group__soap.html#ga78b36c5636eb5283d651b69d8684c6ae">LONG64</a> *value)</td></tr>
<tr class="memdesc:gad5484b14580f14515e395e4ad83847ae"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a decimal string to a signed 64 bit integer value.  <a href="#gad5484b14580f14515e395e4ad83847ae">More...</a><br /></td></tr>
<tr class="separator:gad5484b14580f14515e395e4ad83847ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8e78d00e39062a5d37da62c4561dfc74"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__s2s.html#ga8e78d00e39062a5d37da62c4561dfc74">soap_s2float</a> (struct <a class="el" href="structsoap.html">soap</a> *<a class="el" href="structsoap.html">soap</a>, const char *string, float *value)</td></tr>
<tr class="memdesc:ga8e78d00e39062a5d37da62c4561dfc74"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a decimal string to a float value.  <a href="#ga8e78d00e39062a5d37da62c4561dfc74">More...</a><br /></td></tr>
<tr class="separator:ga8e78d00e39062a5d37da62c4561dfc74"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9b9f6723f8333ed2944e99f6f859b781"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__s2s.html#ga9b9f6723f8333ed2944e99f6f859b781">soap_s2double</a> (struct <a class="el" href="structsoap.html">soap</a> *<a class="el" href="structsoap.html">soap</a>, const char *string, double *value)</td></tr>
<tr class="memdesc:ga9b9f6723f8333ed2944e99f6f859b781"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a decimal string to a double float value.  <a href="#ga9b9f6723f8333ed2944e99f6f859b781">More...</a><br /></td></tr>
<tr class="separator:ga9b9f6723f8333ed2944e99f6f859b781"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaabd48d059617ce04b24e41b7f2e763e6"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__s2s.html#gaabd48d059617ce04b24e41b7f2e763e6">soap_s2unsignedByte</a> (struct <a class="el" href="structsoap.html">soap</a> *<a class="el" href="structsoap.html">soap</a>, const char *string, unsigned char *value)</td></tr>
<tr class="memdesc:gaabd48d059617ce04b24e41b7f2e763e6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a decimal string to an unsigned 8 bit byte (unsigned char) integer value.  <a href="#gaabd48d059617ce04b24e41b7f2e763e6">More...</a><br /></td></tr>
<tr class="separator:gaabd48d059617ce04b24e41b7f2e763e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa425119b4c7f3ab0883131b8e8751bc3"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__s2s.html#gaa425119b4c7f3ab0883131b8e8751bc3">soap_s2unsignedShort</a> (struct <a class="el" href="structsoap.html">soap</a> *<a class="el" href="structsoap.html">soap</a>, const char *string, unsigned short *value)</td></tr>
<tr class="memdesc:gaa425119b4c7f3ab0883131b8e8751bc3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a decimal string to an unsigned 16 bit integer value.  <a href="#gaa425119b4c7f3ab0883131b8e8751bc3">More...</a><br /></td></tr>
<tr class="separator:gaa425119b4c7f3ab0883131b8e8751bc3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga35d88ab5e0ef2260f7f5b1e48c7d5a30"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__s2s.html#ga35d88ab5e0ef2260f7f5b1e48c7d5a30">soap_s2unsignedInt</a> (struct <a class="el" href="structsoap.html">soap</a> *<a class="el" href="structsoap.html">soap</a>, const char *string, unsigned int *value)</td></tr>
<tr class="memdesc:ga35d88ab5e0ef2260f7f5b1e48c7d5a30"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a decimal string to an unsigned 32 bit integer value.  <a href="#ga35d88ab5e0ef2260f7f5b1e48c7d5a30">More...</a><br /></td></tr>
<tr class="separator:ga35d88ab5e0ef2260f7f5b1e48c7d5a30"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3e065f642786ce4817fb87c017a7c9de"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__s2s.html#ga3e065f642786ce4817fb87c017a7c9de">soap_s2unsignedLong</a> (struct <a class="el" href="structsoap.html">soap</a> *<a class="el" href="structsoap.html">soap</a>, const char *string, unsigned long *value)</td></tr>
<tr class="memdesc:ga3e065f642786ce4817fb87c017a7c9de"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a decimal string to an unsigned <code>long</code> integer value.  <a href="#ga3e065f642786ce4817fb87c017a7c9de">More...</a><br /></td></tr>
<tr class="separator:ga3e065f642786ce4817fb87c017a7c9de"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3e2c60a976116ffa36e8ea9ee98c8a94"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__s2s.html#ga3e2c60a976116ffa36e8ea9ee98c8a94">soap_s2ULONG64</a> (struct <a class="el" href="structsoap.html">soap</a> *<a class="el" href="structsoap.html">soap</a>, const char *string, <a class="el" href="group__group__soap.html#ga7c6e38d209f60a18e362172dca1a3b6e">ULONG64</a> *value)</td></tr>
<tr class="memdesc:ga3e2c60a976116ffa36e8ea9ee98c8a94"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a decimal string to an unsigned 64 bit integer value.  <a href="#ga3e2c60a976116ffa36e8ea9ee98c8a94">More...</a><br /></td></tr>
<tr class="separator:ga3e2c60a976116ffa36e8ea9ee98c8a94"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga648f16e4d6f807acf7adaa244eb555e7"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__s2s.html#ga648f16e4d6f807acf7adaa244eb555e7">soap_s2char</a> (struct <a class="el" href="structsoap.html">soap</a> *<a class="el" href="structsoap.html">soap</a>, const char *string, char **value, int flag, long minlen, long maxlen, const char *pattern)</td></tr>
<tr class="memdesc:ga648f16e4d6f807acf7adaa244eb555e7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy a string (ASCII or UTF-8) to a new string while converting and validating the string contents.  <a href="#ga648f16e4d6f807acf7adaa244eb555e7">More...</a><br /></td></tr>
<tr class="separator:ga648f16e4d6f807acf7adaa244eb555e7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad43ad9c67a6bbb47b27b3f1b44c240c6"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__s2s.html#gad43ad9c67a6bbb47b27b3f1b44c240c6">soap_s2stdchar</a> (struct <a class="el" href="structsoap.html">soap</a> *<a class="el" href="structsoap.html">soap</a>, const char *string, std::string *value, int flag, long minlen, long maxlen, const char *pattern)</td></tr>
<tr class="memdesc:gad43ad9c67a6bbb47b27b3f1b44c240c6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy a string (ASCII or UTF-8) to a new string while converting and validating the string contents.  <a href="#gad43ad9c67a6bbb47b27b3f1b44c240c6">More...</a><br /></td></tr>
<tr class="separator:gad43ad9c67a6bbb47b27b3f1b44c240c6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0632532cd90c207c0157bf96acd89ca0"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__s2s.html#ga0632532cd90c207c0157bf96acd89ca0">soap_s2wchar</a> (struct <a class="el" href="structsoap.html">soap</a> *<a class="el" href="structsoap.html">soap</a>, const char *string, wchar_t **value, int flag, long minlen, long maxlen, const char *pattern)</td></tr>
<tr class="memdesc:ga0632532cd90c207c0157bf96acd89ca0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy a string (ASCII or UTF-8) to a new wide string while converting and validating the string contents.  <a href="#ga0632532cd90c207c0157bf96acd89ca0">More...</a><br /></td></tr>
<tr class="separator:ga0632532cd90c207c0157bf96acd89ca0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1b8640f25329a8939647a07ee02c06b8"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__s2s.html#ga1b8640f25329a8939647a07ee02c06b8">soap_s2stdwchar</a> (struct <a class="el" href="structsoap.html">soap</a> *<a class="el" href="structsoap.html">soap</a>, const char *string, std::wstring *value, int flag, long minlen, long maxlen, const char *pattern)</td></tr>
<tr class="memdesc:ga1b8640f25329a8939647a07ee02c06b8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy a string (ASCII or UTF-8) to a new wide string while converting and validating the string contents.  <a href="#ga1b8640f25329a8939647a07ee02c06b8">More...</a><br /></td></tr>
<tr class="separator:ga1b8640f25329a8939647a07ee02c06b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9e076039f02c6c4e36aca6ad359c3396"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__s2s.html#ga9e076039f02c6c4e36aca6ad359c3396">soap_s2QName</a> (struct <a class="el" href="structsoap.html">soap</a> *<a class="el" href="structsoap.html">soap</a>, const char *string, char **value, long minlen, long maxlen, const char *pattern)</td></tr>
<tr class="memdesc:ga9e076039f02c6c4e36aca6ad359c3396"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy a string (ASCII or UTF-8) to a new QName string while normalizing and validating the string contents.  <a href="#ga9e076039f02c6c4e36aca6ad359c3396">More...</a><br /></td></tr>
<tr class="separator:ga9e076039f02c6c4e36aca6ad359c3396"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga594ac84f98046493740eb8a212f999fd"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__s2s.html#ga594ac84f98046493740eb8a212f999fd">soap_s2stdQName</a> (struct <a class="el" href="structsoap.html">soap</a> *<a class="el" href="structsoap.html">soap</a>, const char *string, std::string *value, long minlen, long maxlen, const char *pattern)</td></tr>
<tr class="memdesc:ga594ac84f98046493740eb8a212f999fd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy a string (ASCII or UTF-8) to a new QName string while normalizing and validating the string contents.  <a href="#ga594ac84f98046493740eb8a212f999fd">More...</a><br /></td></tr>
<tr class="separator:ga594ac84f98046493740eb8a212f999fd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0d11df764efa9ce0fba2b766c0977532"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__s2s.html#ga0d11df764efa9ce0fba2b766c0977532">soap_s2dateTime</a> (struct <a class="el" href="structsoap.html">soap</a> *<a class="el" href="structsoap.html">soap</a>, const char *string, time_t *value)</td></tr>
<tr class="memdesc:ga0d11df764efa9ce0fba2b766c0977532"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a string with <em><code>xsd:dateTime</code></em> contents to a <code>time_t</code> value.  <a href="#ga0d11df764efa9ce0fba2b766c0977532">More...</a><br /></td></tr>
<tr class="separator:ga0d11df764efa9ce0fba2b766c0977532"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga27a8ab5b7affc336f433f79fec5cb861"><td class="memItemLeft" align="right" valign="top">char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__s2s.html#ga27a8ab5b7affc336f433f79fec5cb861">soap_s2base64</a> (struct <a class="el" href="structsoap.html">soap</a> *<a class="el" href="structsoap.html">soap</a>, const unsigned char *data, char *base64, int len)</td></tr>
<tr class="memdesc:ga27a8ab5b7affc336f433f79fec5cb861"><td class="mdescLeft">&#160;</td><td class="mdescRight">Encode binary data as a base64-formatted string.  <a href="#ga27a8ab5b7affc336f433f79fec5cb861">More...</a><br /></td></tr>
<tr class="separator:ga27a8ab5b7affc336f433f79fec5cb861"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga349573a4d6aa53d3196d65b82199e7d2"><td class="memItemLeft" align="right" valign="top">char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__s2s.html#ga349573a4d6aa53d3196d65b82199e7d2">soap_s2hex</a> (struct <a class="el" href="structsoap.html">soap</a> *<a class="el" href="structsoap.html">soap</a>, const unsigned char *data, char *hex, int len)</td></tr>
<tr class="memdesc:ga349573a4d6aa53d3196d65b82199e7d2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Encode binary data as a hex-formatted string.  <a href="#ga349573a4d6aa53d3196d65b82199e7d2">More...</a><br /></td></tr>
<tr class="separator:ga349573a4d6aa53d3196d65b82199e7d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga879fef6f43c8d64294526fdfdb8e5d21"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__s2s.html#ga879fef6f43c8d64294526fdfdb8e5d21">soap_byte2s</a> (struct <a class="el" href="structsoap.html">soap</a> *<a class="el" href="structsoap.html">soap</a>, char value)</td></tr>
<tr class="memdesc:ga879fef6f43c8d64294526fdfdb8e5d21"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a signed 8 bit byte (char) integer to a decimal string.  <a href="#ga879fef6f43c8d64294526fdfdb8e5d21">More...</a><br /></td></tr>
<tr class="separator:ga879fef6f43c8d64294526fdfdb8e5d21"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae8084377de7574fffbac00a6ec2fec43"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__s2s.html#gae8084377de7574fffbac00a6ec2fec43">soap_short2s</a> (struct <a class="el" href="structsoap.html">soap</a> *<a class="el" href="structsoap.html">soap</a>, short value)</td></tr>
<tr class="memdesc:gae8084377de7574fffbac00a6ec2fec43"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a signed 16 bit integer to a decimal string.  <a href="#gae8084377de7574fffbac00a6ec2fec43">More...</a><br /></td></tr>
<tr class="separator:gae8084377de7574fffbac00a6ec2fec43"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9afdf8de7a8373f1747f41f8e3d5ee39"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__s2s.html#ga9afdf8de7a8373f1747f41f8e3d5ee39">soap_int2s</a> (struct <a class="el" href="structsoap.html">soap</a> *<a class="el" href="structsoap.html">soap</a>, int value)</td></tr>
<tr class="memdesc:ga9afdf8de7a8373f1747f41f8e3d5ee39"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a signed 32 bit integer to a decimal string.  <a href="#ga9afdf8de7a8373f1747f41f8e3d5ee39">More...</a><br /></td></tr>
<tr class="separator:ga9afdf8de7a8373f1747f41f8e3d5ee39"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga62c6452f879498f8751d52ced3dff798"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__s2s.html#ga62c6452f879498f8751d52ced3dff798">soap_long2s</a> (struct <a class="el" href="structsoap.html">soap</a> *<a class="el" href="structsoap.html">soap</a>, long value)</td></tr>
<tr class="memdesc:ga62c6452f879498f8751d52ced3dff798"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a signed <code>long</code> integer to a decimal string.  <a href="#ga62c6452f879498f8751d52ced3dff798">More...</a><br /></td></tr>
<tr class="separator:ga62c6452f879498f8751d52ced3dff798"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3cdc8143c8bb8ab0169acfd372fe3bfb"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__s2s.html#ga3cdc8143c8bb8ab0169acfd372fe3bfb">soap_LONG642s</a> (struct <a class="el" href="structsoap.html">soap</a> *<a class="el" href="structsoap.html">soap</a>, <a class="el" href="group__group__soap.html#ga78b36c5636eb5283d651b69d8684c6ae">LONG64</a> value)</td></tr>
<tr class="memdesc:ga3cdc8143c8bb8ab0169acfd372fe3bfb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a signed 64 bit integer to a decimal string.  <a href="#ga3cdc8143c8bb8ab0169acfd372fe3bfb">More...</a><br /></td></tr>
<tr class="separator:ga3cdc8143c8bb8ab0169acfd372fe3bfb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3be6414ca3e8d453c058a8b23552bab2"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__s2s.html#ga3be6414ca3e8d453c058a8b23552bab2">soap_float2s</a> (struct <a class="el" href="structsoap.html">soap</a> *<a class="el" href="structsoap.html">soap</a>, float value)</td></tr>
<tr class="memdesc:ga3be6414ca3e8d453c058a8b23552bab2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a float value to a decimal string.  <a href="#ga3be6414ca3e8d453c058a8b23552bab2">More...</a><br /></td></tr>
<tr class="separator:ga3be6414ca3e8d453c058a8b23552bab2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gadcb38c224f8d1fc1c58534316421f515"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__s2s.html#gadcb38c224f8d1fc1c58534316421f515">soap_double2s</a> (struct <a class="el" href="structsoap.html">soap</a> *<a class="el" href="structsoap.html">soap</a>, double value)</td></tr>
<tr class="memdesc:gadcb38c224f8d1fc1c58534316421f515"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a double float value to a decimal string.  <a href="#gadcb38c224f8d1fc1c58534316421f515">More...</a><br /></td></tr>
<tr class="separator:gadcb38c224f8d1fc1c58534316421f515"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6da39f8ce07f4a3de37de6c5ce33ed83"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__s2s.html#ga6da39f8ce07f4a3de37de6c5ce33ed83">soap_unsignedByte2s</a> (struct <a class="el" href="structsoap.html">soap</a> *<a class="el" href="structsoap.html">soap</a>, unsigned char value)</td></tr>
<tr class="memdesc:ga6da39f8ce07f4a3de37de6c5ce33ed83"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert an unsigned 8 bit byte (char) integer to a decimal string.  <a href="#ga6da39f8ce07f4a3de37de6c5ce33ed83">More...</a><br /></td></tr>
<tr class="separator:ga6da39f8ce07f4a3de37de6c5ce33ed83"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga406071af347fbb537e4e5d8b78899e75"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__s2s.html#ga406071af347fbb537e4e5d8b78899e75">soap_unsignedShort2s</a> (struct <a class="el" href="structsoap.html">soap</a> *<a class="el" href="structsoap.html">soap</a>, unsigned short value)</td></tr>
<tr class="memdesc:ga406071af347fbb537e4e5d8b78899e75"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert an unsigned 16 bit integer to a decimal string.  <a href="#ga406071af347fbb537e4e5d8b78899e75">More...</a><br /></td></tr>
<tr class="separator:ga406071af347fbb537e4e5d8b78899e75"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga02470ecf340d6aedc3998252de8d69b1"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__s2s.html#ga02470ecf340d6aedc3998252de8d69b1">soap_unsignedInt2s</a> (struct <a class="el" href="structsoap.html">soap</a> *<a class="el" href="structsoap.html">soap</a>, unsigned int value)</td></tr>
<tr class="memdesc:ga02470ecf340d6aedc3998252de8d69b1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert an unsigned 32 bit integer to a decimal string.  <a href="#ga02470ecf340d6aedc3998252de8d69b1">More...</a><br /></td></tr>
<tr class="separator:ga02470ecf340d6aedc3998252de8d69b1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa41e355261031f11c752ebaf702aa871"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__s2s.html#gaa41e355261031f11c752ebaf702aa871">soap_unsignedLong2s</a> (struct <a class="el" href="structsoap.html">soap</a> *<a class="el" href="structsoap.html">soap</a>, unsigned long value)</td></tr>
<tr class="memdesc:gaa41e355261031f11c752ebaf702aa871"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert an unsigned <code>long</code> integer to a decimal string.  <a href="#gaa41e355261031f11c752ebaf702aa871">More...</a><br /></td></tr>
<tr class="separator:gaa41e355261031f11c752ebaf702aa871"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac65a7d227edbd6713113561962f992b8"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__s2s.html#gac65a7d227edbd6713113561962f992b8">soap_ULONG642s</a> (struct <a class="el" href="structsoap.html">soap</a> *<a class="el" href="structsoap.html">soap</a>, <a class="el" href="group__group__soap.html#ga7c6e38d209f60a18e362172dca1a3b6e">ULONG64</a> value)</td></tr>
<tr class="memdesc:gac65a7d227edbd6713113561962f992b8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert an unsigned 64 bit integer to a decimal string.  <a href="#gac65a7d227edbd6713113561962f992b8">More...</a><br /></td></tr>
<tr class="separator:gac65a7d227edbd6713113561962f992b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac263a15330f17ac7e71a3e3ff3214f5d"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__s2s.html#gac263a15330f17ac7e71a3e3ff3214f5d">soap_wchar2s</a> (struct <a class="el" href="structsoap.html">soap</a> *<a class="el" href="structsoap.html">soap</a>, const wchar_t *value)</td></tr>
<tr class="memdesc:gac263a15330f17ac7e71a3e3ff3214f5d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a wide string to a UTF-8 encoded string.  <a href="#gac263a15330f17ac7e71a3e3ff3214f5d">More...</a><br /></td></tr>
<tr class="separator:gac263a15330f17ac7e71a3e3ff3214f5d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga813c6784fac2c4688540f40747279dd8"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__s2s.html#ga813c6784fac2c4688540f40747279dd8">soap_dateTime2s</a> (struct <a class="el" href="structsoap.html">soap</a> *<a class="el" href="structsoap.html">soap</a>, time_t value)</td></tr>
<tr class="memdesc:ga813c6784fac2c4688540f40747279dd8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a <code>time_t</code> value to a string with <em><code>xsd:dateTime</code></em> contents.  <a href="#ga813c6784fac2c4688540f40747279dd8">More...</a><br /></td></tr>
<tr class="separator:ga813c6784fac2c4688540f40747279dd8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gadb60e0f528e9c330a1f8497e3e03eee3"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__s2s.html#gadb60e0f528e9c330a1f8497e3e03eee3">soap_base642s</a> (struct <a class="el" href="structsoap.html">soap</a> *<a class="el" href="structsoap.html">soap</a>, const char *base64, char *data, size_t maxdatalen, int *datalen)</td></tr>
<tr class="memdesc:gadb60e0f528e9c330a1f8497e3e03eee3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Decode a base64-formatted string to binary data.  <a href="#gadb60e0f528e9c330a1f8497e3e03eee3">More...</a><br /></td></tr>
<tr class="separator:gadb60e0f528e9c330a1f8497e3e03eee3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabe80872d487259589af22cb259f89e42"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__s2s.html#gabe80872d487259589af22cb259f89e42">soap_hex2s</a> (struct <a class="el" href="structsoap.html">soap</a> *<a class="el" href="structsoap.html">soap</a>, const char *hex, char *data, size_t maxdatalen, int *datalen)</td></tr>
<tr class="memdesc:gabe80872d487259589af22cb259f89e42"><td class="mdescLeft">&#160;</td><td class="mdescRight">Decode a hex-formatted string to binary data.  <a href="#gabe80872d487259589af22cb259f89e42">More...</a><br /></td></tr>
<tr class="separator:gabe80872d487259589af22cb259f89e42"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<p>This module defines conversion functions of values of various types to and from strings. </p>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="gadb60e0f528e9c330a1f8497e3e03eee3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* soap_base642s </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structsoap.html">soap</a> *&#160;</td>
          <td class="paramname"><em>soap</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>base64</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>maxdatalen</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int *&#160;</td>
          <td class="paramname"><em>datalen</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Decode a base64-formatted string to binary data. </p>
<p>This function decodes the specified <code>base64</code> string to binary data. The <code>data</code> parameter is a buffer of length <code>maxdatalen</code> to store the decoded data or NULL to dynamically allocate the decoded data in managed memory which is returned. The length of the decoded data is stored in the length variable pointed to by <code>datalen</code> when non-NULL. Returns the decoded binary string that is 0-terminated if <code>maxdatalen</code> is sufficiently large, or returns NULL if an error occurred.</p><dl class="section return"><dt>Returns</dt><dd>decoded string or NULL when an error occurred </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">soap</td><td><code><a class="el" href="structsoap.html" title="Context with the engine state. ">soap</a></code> context </td></tr>
    <tr><td class="paramname">base64</td><td>base64 string </td></tr>
    <tr><td class="paramname">data</td><td>buffer to store the decoded data or NULL to allocate one </td></tr>
    <tr><td class="paramname">maxdatalen</td><td>size of the buffer </td></tr>
    <tr><td class="paramname">datalen</td><td>pointer to the length variable to assign or NULL </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga879fef6f43c8d64294526fdfdb8e5d21"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* soap_byte2s </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structsoap.html">soap</a> *&#160;</td>
          <td class="paramname"><em>soap</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Convert a signed 8 bit byte (char) integer to a decimal string. </p>
<p>This function converts the specified signed 8 bit byte (char) integer to a decimal string stored in the temporary buffer <code><a class="el" href="structsoap.html#a194bcafed0c3e368b92f452fc80b2d31" title="Internal buffer to hold temporary strings such as string representations of primitive values...">soap::tmpbuf</a></code>. Returns <code><a class="el" href="structsoap.html#a194bcafed0c3e368b92f452fc80b2d31" title="Internal buffer to hold temporary strings such as string representations of primitive values...">soap::tmpbuf</a></code>.</p><dl class="section return"><dt>Returns</dt><dd>the decimal number stored in the <code><a class="el" href="structsoap.html#a194bcafed0c3e368b92f452fc80b2d31" title="Internal buffer to hold temporary strings such as string representations of primitive values...">soap::tmpbuf</a></code> string buffer </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">soap</td><td><code><a class="el" href="structsoap.html" title="Context with the engine state. ">soap</a></code> context </td></tr>
    <tr><td class="paramname">value</td><td>integer value to convert to decimal string </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga813c6784fac2c4688540f40747279dd8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* soap_dateTime2s </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structsoap.html">soap</a> *&#160;</td>
          <td class="paramname"><em>soap</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">time_t&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Convert a <code>time_t</code> value to a string with <em><code>xsd:dateTime</code></em> contents. </p>
<p>This function converts the specified <code>time_t</code> value to a string with <em><code>xsd:dateTime</code></em> contents stored in the temporary buffer <code><a class="el" href="structsoap.html#a194bcafed0c3e368b92f452fc80b2d31" title="Internal buffer to hold temporary strings such as string representations of primitive values...">soap::tmpbuf</a></code>. Returns <code><a class="el" href="structsoap.html#a194bcafed0c3e368b92f452fc80b2d31" title="Internal buffer to hold temporary strings such as string representations of primitive values...">soap::tmpbuf</a></code>.</p>
<dl class="section see"><dt>See also</dt><dd><code><a class="el" href="group__group__with.html#ga1c6f7ec29799a308133930ffc4d7109a" title="When this macro is defined at compile time (undefined by default), removes and ignores the timezone i...">WITH_NOZONE</a></code>.</dd></dl>
<dl class="section return"><dt>Returns</dt><dd>the <em><code>xsd:dateTime</code></em> string stored in the <code><a class="el" href="structsoap.html#a194bcafed0c3e368b92f452fc80b2d31" title="Internal buffer to hold temporary strings such as string representations of primitive values...">soap::tmpbuf</a></code> string buffer </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">soap</td><td><code><a class="el" href="structsoap.html" title="Context with the engine state. ">soap</a></code> context </td></tr>
    <tr><td class="paramname">value</td><td>value to convert </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="gadcb38c224f8d1fc1c58534316421f515"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* soap_double2s </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structsoap.html">soap</a> *&#160;</td>
          <td class="paramname"><em>soap</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Convert a double float value to a decimal string. </p>
<p>This function converts the specified double precision floating point value to a decimal string stored in the temporary buffer <code><a class="el" href="structsoap.html#a194bcafed0c3e368b92f452fc80b2d31" title="Internal buffer to hold temporary strings such as string representations of primitive values...">soap::tmpbuf</a></code>. Returns <code><a class="el" href="structsoap.html#a194bcafed0c3e368b92f452fc80b2d31" title="Internal buffer to hold temporary strings such as string representations of primitive values...">soap::tmpbuf</a></code>.</p><dl class="section return"><dt>Returns</dt><dd>the decimal number stored in the <code><a class="el" href="structsoap.html#a194bcafed0c3e368b92f452fc80b2d31" title="Internal buffer to hold temporary strings such as string representations of primitive values...">soap::tmpbuf</a></code> string buffer </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">soap</td><td><code><a class="el" href="structsoap.html" title="Context with the engine state. ">soap</a></code> context </td></tr>
    <tr><td class="paramname">value</td><td>double float value to convert to decimal string </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga3be6414ca3e8d453c058a8b23552bab2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* soap_float2s </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structsoap.html">soap</a> *&#160;</td>
          <td class="paramname"><em>soap</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Convert a float value to a decimal string. </p>
<p>This function converts the specified single precision floating point value to a decimal string stored in the temporary buffer <code><a class="el" href="structsoap.html#a194bcafed0c3e368b92f452fc80b2d31" title="Internal buffer to hold temporary strings such as string representations of primitive values...">soap::tmpbuf</a></code>. Returns <code><a class="el" href="structsoap.html#a194bcafed0c3e368b92f452fc80b2d31" title="Internal buffer to hold temporary strings such as string representations of primitive values...">soap::tmpbuf</a></code>.</p><dl class="section return"><dt>Returns</dt><dd>the decimal number stored in the <code><a class="el" href="structsoap.html#a194bcafed0c3e368b92f452fc80b2d31" title="Internal buffer to hold temporary strings such as string representations of primitive values...">soap::tmpbuf</a></code> string buffer </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">soap</td><td><code><a class="el" href="structsoap.html" title="Context with the engine state. ">soap</a></code> context </td></tr>
    <tr><td class="paramname">value</td><td>float value to convert to decimal string </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="gabe80872d487259589af22cb259f89e42"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* soap_hex2s </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structsoap.html">soap</a> *&#160;</td>
          <td class="paramname"><em>soap</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>hex</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>maxdatalen</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int *&#160;</td>
          <td class="paramname"><em>datalen</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Decode a hex-formatted string to binary data. </p>
<p>This function decodes the specified <code>hex</code> string to binary data. The <code>data</code> parameter is a buffer of length <code>maxdatalen</code> to store the decoded data or NULL to dynamically allocate the decoded data in managed memory which is returned. The length of the decoded data is stored in the length variable pointed to by <code>datalen</code> when non-NULL. Returns the decoded binary string that is 0-terminated if <code>maxdatalen</code> is sufficiently large, or returns NULL if an error occurred.</p><dl class="section return"><dt>Returns</dt><dd>decoded string or NULL when an error occurred </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">soap</td><td><code><a class="el" href="structsoap.html" title="Context with the engine state. ">soap</a></code> context </td></tr>
    <tr><td class="paramname">hex</td><td>hex string </td></tr>
    <tr><td class="paramname">data</td><td>buffer to store the decoded data or NULL to allocate one </td></tr>
    <tr><td class="paramname">maxdatalen</td><td>size of the buffer </td></tr>
    <tr><td class="paramname">datalen</td><td>pointer to the length variable to assign or NULL </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga9afdf8de7a8373f1747f41f8e3d5ee39"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* soap_int2s </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structsoap.html">soap</a> *&#160;</td>
          <td class="paramname"><em>soap</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Convert a signed 32 bit integer to a decimal string. </p>
<p>This function converts the specified signed 32 bit integer to a decimal string stored in the temporary buffer <code><a class="el" href="structsoap.html#a194bcafed0c3e368b92f452fc80b2d31" title="Internal buffer to hold temporary strings such as string representations of primitive values...">soap::tmpbuf</a></code>. Returns <code><a class="el" href="structsoap.html#a194bcafed0c3e368b92f452fc80b2d31" title="Internal buffer to hold temporary strings such as string representations of primitive values...">soap::tmpbuf</a></code>.</p><dl class="section return"><dt>Returns</dt><dd>the decimal number stored in the <code><a class="el" href="structsoap.html#a194bcafed0c3e368b92f452fc80b2d31" title="Internal buffer to hold temporary strings such as string representations of primitive values...">soap::tmpbuf</a></code> string buffer </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">soap</td><td><code><a class="el" href="structsoap.html" title="Context with the engine state. ">soap</a></code> context </td></tr>
    <tr><td class="paramname">value</td><td>integer value to convert to decimal string </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga62c6452f879498f8751d52ced3dff798"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* soap_long2s </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structsoap.html">soap</a> *&#160;</td>
          <td class="paramname"><em>soap</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Convert a signed <code>long</code> integer to a decimal string. </p>
<p>This function converts the specified signed <code>long</code> integer to a decimal string stored in the temporary buffer <code><a class="el" href="structsoap.html#a194bcafed0c3e368b92f452fc80b2d31" title="Internal buffer to hold temporary strings such as string representations of primitive values...">soap::tmpbuf</a></code>. Returns <code><a class="el" href="structsoap.html#a194bcafed0c3e368b92f452fc80b2d31" title="Internal buffer to hold temporary strings such as string representations of primitive values...">soap::tmpbuf</a></code>.</p><dl class="section return"><dt>Returns</dt><dd>the decimal number stored in the <code><a class="el" href="structsoap.html#a194bcafed0c3e368b92f452fc80b2d31" title="Internal buffer to hold temporary strings such as string representations of primitive values...">soap::tmpbuf</a></code> string buffer </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">soap</td><td><code><a class="el" href="structsoap.html" title="Context with the engine state. ">soap</a></code> context </td></tr>
    <tr><td class="paramname">value</td><td>integer value to convert to decimal string </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga3cdc8143c8bb8ab0169acfd372fe3bfb"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* soap_LONG642s </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structsoap.html">soap</a> *&#160;</td>
          <td class="paramname"><em>soap</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__group__soap.html#ga78b36c5636eb5283d651b69d8684c6ae">LONG64</a>&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Convert a signed 64 bit integer to a decimal string. </p>
<p>This function converts the specified signed 64 bit integer to a decimal string stored in the temporary buffer <code><a class="el" href="structsoap.html#a194bcafed0c3e368b92f452fc80b2d31" title="Internal buffer to hold temporary strings such as string representations of primitive values...">soap::tmpbuf</a></code>. Returns <code><a class="el" href="structsoap.html#a194bcafed0c3e368b92f452fc80b2d31" title="Internal buffer to hold temporary strings such as string representations of primitive values...">soap::tmpbuf</a></code>.</p><dl class="section return"><dt>Returns</dt><dd>the decimal number stored in the <code><a class="el" href="structsoap.html#a194bcafed0c3e368b92f452fc80b2d31" title="Internal buffer to hold temporary strings such as string representations of primitive values...">soap::tmpbuf</a></code> string buffer </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">soap</td><td><code><a class="el" href="structsoap.html" title="Context with the engine state. ">soap</a></code> context </td></tr>
    <tr><td class="paramname">value</td><td>integer value to convert to decimal string </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga27a8ab5b7affc336f433f79fec5cb861"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char* soap_s2base64 </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structsoap.html">soap</a> *&#160;</td>
          <td class="paramname"><em>soap</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const unsigned char *&#160;</td>
          <td class="paramname"><em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>base64</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>len</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Encode binary data as a base64-formatted string. </p>
<p>This function encodes the specified binary <code>data</code> of length <code>len</code> as a base64-formatted string stored in the specified <code>base64</code> buffer or allocated in managed memory when <code>base64</code> is NULL. Note that <code>base64</code> should be large enough to store the encoded string, i.e. (<code>len</code> + 2) / 3 * 4 + 1 bytes. Returns the string or NULL when an error occurred and sets <code><a class="el" href="structsoap.html#ab85f5d42702963d13ea540bd9876e6d2" title="The soap context soap_status (int) error code of the last operation or SOAP_OK (zero) ...">soap::error</a></code> to a <code><a class="el" href="group__group__errors.html#gac0eadf8f72bacb5b41b750beaeca0444" title="Status and error codes are int values, a zero value or SOAP_OK (0) means no error, nonzero means error. ">soap_status</a></code> value.</p><dl class="section return"><dt>Returns</dt><dd>the converted string or NULL when an error occurred </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">soap</td><td><code><a class="el" href="structsoap.html" title="Context with the engine state. ">soap</a></code> context </td></tr>
    <tr><td class="paramname">data</td><td>data to encode </td></tr>
    <tr><td class="paramname">base64</td><td>buffer to store base64 string or NULL </td></tr>
    <tr><td class="paramname">len</td><td>length of the data to encode </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga69c693405782c9b36da506924d1e774b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int soap_s2byte </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structsoap.html">soap</a> *&#160;</td>
          <td class="paramname"><em>soap</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>string</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Convert a decimal string to a signed 8 bit byte (char) integer value. </p>
<p>This function converts the specified decimal string to a signed 8 bit byte (char) integer value. Returns <code><a class="el" href="group__group__errors.html#ga3b10a68f354f39cbb0fe0d043ad4c7c0" title="The soap_status code for no error (zero) ">SOAP_OK</a></code> or a <code><a class="el" href="group__group__errors.html#gac0eadf8f72bacb5b41b750beaeca0444" title="Status and error codes are int values, a zero value or SOAP_OK (0) means no error, nonzero means error. ">soap_status</a></code> error code such as <code><a class="el" href="group__group__errors.html#gafea66c256bdaa8376e12106e36307c02" title="A soap_status error code: XML element or attribute has a mismatching type or value that is causing a ...">SOAP_TYPE</a></code> when the string could not be converted.</p><dl class="section return"><dt>Returns</dt><dd><code><a class="el" href="group__group__errors.html#ga3b10a68f354f39cbb0fe0d043ad4c7c0" title="The soap_status code for no error (zero) ">SOAP_OK</a></code> or a <code><a class="el" href="group__group__errors.html#gac0eadf8f72bacb5b41b750beaeca0444" title="Status and error codes are int values, a zero value or SOAP_OK (0) means no error, nonzero means error. ">soap_status</a></code> error code </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">soap</td><td><code><a class="el" href="structsoap.html" title="Context with the engine state. ">soap</a></code> context </td></tr>
    <tr><td class="paramname">string</td><td>string to convert </td></tr>
    <tr><td class="paramname">value</td><td>pointer to a variable to assign the converted value to </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga648f16e4d6f807acf7adaa244eb555e7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int soap_s2char </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structsoap.html">soap</a> *&#160;</td>
          <td class="paramname"><em>soap</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>string</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char **&#160;</td>
          <td class="paramname"><em>value</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>flag</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"><em>minlen</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"><em>maxlen</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>pattern</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Copy a string (ASCII or UTF-8) to a new string while converting and validating the string contents. </p>
<p>This function copies the specified string to a new string allocated in managed memory. The specified string is validated against the <code>minlen</code> and <code>maxlen</code> constraints and against the <code>pattern</code> XSD regex when non-NULL and when the <code><a class="el" href="group__group__callbacks.html#ga6a5e29b860d28f855c8d9a67c096d311" title="Callback to validate strings against XML regex patterns. ">soap::fsvalidate</a></code> callback is assigned to perform this check. The minimum and maximum length constraints are 0 and <code><a class="el" href="structsoap.html#aa5d564f947cbd74c29124972823fe775" title="User-definable maximum string length parsed from XML and JSON, initially set to SOAP_MAXLENGTH, zero or negative means unlimited (0 by default) ">soap::maxlength</a></code>, respectively, when <code>minlen</code> or <code>maxlen</code> are specified as negative values. The string length verification takes UTF-8 multi-byte encoding into account when the <code><a class="el" href="group__group__flags.html#ga9006d22d0abc39831dfe3ce1e491ce6f" title="soap_mode input/output flag value to serialize and deserialize 8-bit C/C++ strings containing UTF-8 e...">SOAP_C_UTFSTRING</a></code> mode flag is enabled. The <code>flag</code> parameter controls the conversion as follows: 0 = no conversion, 4 = collapse white space and normalize white space with blanks, 5 = collapse white space. Returns <code><a class="el" href="group__group__errors.html#ga3b10a68f354f39cbb0fe0d043ad4c7c0" title="The soap_status code for no error (zero) ">SOAP_OK</a></code> or a <code><a class="el" href="group__group__errors.html#gac0eadf8f72bacb5b41b750beaeca0444" title="Status and error codes are int values, a zero value or SOAP_OK (0) means no error, nonzero means error. ">soap_status</a></code> error code.</p><dl class="section return"><dt>Returns</dt><dd><code><a class="el" href="group__group__errors.html#ga3b10a68f354f39cbb0fe0d043ad4c7c0" title="The soap_status code for no error (zero) ">SOAP_OK</a></code> or a <code><a class="el" href="group__group__errors.html#gac0eadf8f72bacb5b41b750beaeca0444" title="Status and error codes are int values, a zero value or SOAP_OK (0) means no error, nonzero means error. ">soap_status</a></code> error code </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">soap</td><td><code><a class="el" href="structsoap.html" title="Context with the engine state. ">soap</a></code> context </td></tr>
    <tr><td class="paramname">string</td><td>string to convert </td></tr>
    <tr><td class="paramname">value</td><td>pointer to a variable to assign the new string to </td></tr>
    <tr><td class="paramname">flag</td><td>controls conversion (0, 4 or 5) </td></tr>
    <tr><td class="paramname">minlen</td><td>minimum string length constraint, when non-negative </td></tr>
    <tr><td class="paramname">maxlen</td><td>maximum string length constraint, when non-negative </td></tr>
    <tr><td class="paramname">pattern</td><td>XSD regex pattern constraint, when non-NULL </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga0d11df764efa9ce0fba2b766c0977532"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int soap_s2dateTime </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structsoap.html">soap</a> *&#160;</td>
          <td class="paramname"><em>soap</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>string</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">time_t *&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Convert a string with <em><code>xsd:dateTime</code></em> contents to a <code>time_t</code> value. </p>
<p>This function converts the specified string with <em><code>xsd:dateTime</code></em> contents to a <code>time_t</code> value. Returns <code><a class="el" href="group__group__errors.html#ga3b10a68f354f39cbb0fe0d043ad4c7c0" title="The soap_status code for no error (zero) ">SOAP_OK</a></code> or a <code><a class="el" href="group__group__errors.html#gac0eadf8f72bacb5b41b750beaeca0444" title="Status and error codes are int values, a zero value or SOAP_OK (0) means no error, nonzero means error. ">soap_status</a></code> error code such as <code><a class="el" href="group__group__errors.html#gafea66c256bdaa8376e12106e36307c02" title="A soap_status error code: XML element or attribute has a mismatching type or value that is causing a ...">SOAP_TYPE</a></code> when the string could not be converted.</p>
<dl class="section see"><dt>See also</dt><dd><code><a class="el" href="group__group__with.html#ga1c6f7ec29799a308133930ffc4d7109a" title="When this macro is defined at compile time (undefined by default), removes and ignores the timezone i...">WITH_NOZONE</a></code>.</dd></dl>
<dl class="section return"><dt>Returns</dt><dd><code><a class="el" href="group__group__errors.html#ga3b10a68f354f39cbb0fe0d043ad4c7c0" title="The soap_status code for no error (zero) ">SOAP_OK</a></code> or a <code><a class="el" href="group__group__errors.html#gac0eadf8f72bacb5b41b750beaeca0444" title="Status and error codes are int values, a zero value or SOAP_OK (0) means no error, nonzero means error. ">soap_status</a></code> error code </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">soap</td><td><code><a class="el" href="structsoap.html" title="Context with the engine state. ">soap</a></code> context </td></tr>
    <tr><td class="paramname">string</td><td>string to convert </td></tr>
    <tr><td class="paramname">value</td><td>pointer to a variable to assign the converted value to </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga9b9f6723f8333ed2944e99f6f859b781"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int soap_s2double </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structsoap.html">soap</a> *&#160;</td>
          <td class="paramname"><em>soap</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>string</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double *&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Convert a decimal string to a double float value. </p>
<p>This function converts the specified decimal string to a double precision float value. Also converts <code>NaN</code> and <code>Inf</code>. Returns <code><a class="el" href="group__group__errors.html#ga3b10a68f354f39cbb0fe0d043ad4c7c0" title="The soap_status code for no error (zero) ">SOAP_OK</a></code> or a <code><a class="el" href="group__group__errors.html#gac0eadf8f72bacb5b41b750beaeca0444" title="Status and error codes are int values, a zero value or SOAP_OK (0) means no error, nonzero means error. ">soap_status</a></code> error code such as <code><a class="el" href="group__group__errors.html#gafea66c256bdaa8376e12106e36307c02" title="A soap_status error code: XML element or attribute has a mismatching type or value that is causing a ...">SOAP_TYPE</a></code> when the string could not be converted.</p><dl class="section return"><dt>Returns</dt><dd><code><a class="el" href="group__group__errors.html#ga3b10a68f354f39cbb0fe0d043ad4c7c0" title="The soap_status code for no error (zero) ">SOAP_OK</a></code> or a <code><a class="el" href="group__group__errors.html#gac0eadf8f72bacb5b41b750beaeca0444" title="Status and error codes are int values, a zero value or SOAP_OK (0) means no error, nonzero means error. ">soap_status</a></code> error code </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">soap</td><td><code><a class="el" href="structsoap.html" title="Context with the engine state. ">soap</a></code> context </td></tr>
    <tr><td class="paramname">string</td><td>string to convert </td></tr>
    <tr><td class="paramname">value</td><td>pointer to a variable to assign the converted value to </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga8e78d00e39062a5d37da62c4561dfc74"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int soap_s2float </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structsoap.html">soap</a> *&#160;</td>
          <td class="paramname"><em>soap</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>string</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float *&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Convert a decimal string to a float value. </p>
<p>This function converts the specified decimal string to a single precision float value. Also converts <code>NaN</code> and <code>Inf</code>. Returns <code><a class="el" href="group__group__errors.html#ga3b10a68f354f39cbb0fe0d043ad4c7c0" title="The soap_status code for no error (zero) ">SOAP_OK</a></code> or a <code><a class="el" href="group__group__errors.html#gac0eadf8f72bacb5b41b750beaeca0444" title="Status and error codes are int values, a zero value or SOAP_OK (0) means no error, nonzero means error. ">soap_status</a></code> error code such as <code><a class="el" href="group__group__errors.html#gafea66c256bdaa8376e12106e36307c02" title="A soap_status error code: XML element or attribute has a mismatching type or value that is causing a ...">SOAP_TYPE</a></code> when the string could not be converted.</p><dl class="section return"><dt>Returns</dt><dd><code><a class="el" href="group__group__errors.html#ga3b10a68f354f39cbb0fe0d043ad4c7c0" title="The soap_status code for no error (zero) ">SOAP_OK</a></code> or a <code><a class="el" href="group__group__errors.html#gac0eadf8f72bacb5b41b750beaeca0444" title="Status and error codes are int values, a zero value or SOAP_OK (0) means no error, nonzero means error. ">soap_status</a></code> error code </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">soap</td><td><code><a class="el" href="structsoap.html" title="Context with the engine state. ">soap</a></code> context </td></tr>
    <tr><td class="paramname">string</td><td>string to convert </td></tr>
    <tr><td class="paramname">value</td><td>pointer to a variable to assign the converted value to </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga349573a4d6aa53d3196d65b82199e7d2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char* soap_s2hex </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structsoap.html">soap</a> *&#160;</td>
          <td class="paramname"><em>soap</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const unsigned char *&#160;</td>
          <td class="paramname"><em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>hex</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>len</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Encode binary data as a hex-formatted string. </p>
<p>This function encodes the specified binary <code>data</code> of length <code>len</code> as a hex-formatted string stored in the specified <code>hex</code> buffer or allocated in managed memory when <code>hex</code> is NULL. Note that <code>hex</code> should be large enough to store the encoded string, i.e. 2 * <code>len</code> + 1 bytes. Returns the string or NULL when an error occurred and sets <code><a class="el" href="structsoap.html#ab85f5d42702963d13ea540bd9876e6d2" title="The soap context soap_status (int) error code of the last operation or SOAP_OK (zero) ...">soap::error</a></code> to a <code><a class="el" href="group__group__errors.html#gac0eadf8f72bacb5b41b750beaeca0444" title="Status and error codes are int values, a zero value or SOAP_OK (0) means no error, nonzero means error. ">soap_status</a></code> value.</p><dl class="section return"><dt>Returns</dt><dd>the converted string or NULL when an error occurred </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">soap</td><td><code><a class="el" href="structsoap.html" title="Context with the engine state. ">soap</a></code> context </td></tr>
    <tr><td class="paramname">data</td><td>data to encode </td></tr>
    <tr><td class="paramname">hex</td><td>buffer to store hex string or NULL </td></tr>
    <tr><td class="paramname">len</td><td>length of the data to encode </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="gafcc3cabff72e6ef124a577175793c943"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int soap_s2int </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structsoap.html">soap</a> *&#160;</td>
          <td class="paramname"><em>soap</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>string</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int *&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Convert a decimal string to a signed 32 bit integer value. </p>
<p>This function converts the specified decimal string to a signed 32 bit integer value. Returns <code><a class="el" href="group__group__errors.html#ga3b10a68f354f39cbb0fe0d043ad4c7c0" title="The soap_status code for no error (zero) ">SOAP_OK</a></code> or a <code><a class="el" href="group__group__errors.html#gac0eadf8f72bacb5b41b750beaeca0444" title="Status and error codes are int values, a zero value or SOAP_OK (0) means no error, nonzero means error. ">soap_status</a></code> error code such as <code><a class="el" href="group__group__errors.html#gafea66c256bdaa8376e12106e36307c02" title="A soap_status error code: XML element or attribute has a mismatching type or value that is causing a ...">SOAP_TYPE</a></code> when the string could not be converted.</p><dl class="section return"><dt>Returns</dt><dd><code><a class="el" href="group__group__errors.html#ga3b10a68f354f39cbb0fe0d043ad4c7c0" title="The soap_status code for no error (zero) ">SOAP_OK</a></code> or a <code><a class="el" href="group__group__errors.html#gac0eadf8f72bacb5b41b750beaeca0444" title="Status and error codes are int values, a zero value or SOAP_OK (0) means no error, nonzero means error. ">soap_status</a></code> error code </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">soap</td><td><code><a class="el" href="structsoap.html" title="Context with the engine state. ">soap</a></code> context </td></tr>
    <tr><td class="paramname">string</td><td>string to convert </td></tr>
    <tr><td class="paramname">value</td><td>pointer to a variable to assign the converted value to </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga1b175ee7d378a72575539bc010ce207c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int soap_s2long </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structsoap.html">soap</a> *&#160;</td>
          <td class="paramname"><em>soap</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>string</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">long *&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Convert a decimal string to a signed <code>long</code> integer value. </p>
<p>This function converts the specified decimal string to a signed <code>long</code> integer value. Returns <code><a class="el" href="group__group__errors.html#ga3b10a68f354f39cbb0fe0d043ad4c7c0" title="The soap_status code for no error (zero) ">SOAP_OK</a></code> or a <code><a class="el" href="group__group__errors.html#gac0eadf8f72bacb5b41b750beaeca0444" title="Status and error codes are int values, a zero value or SOAP_OK (0) means no error, nonzero means error. ">soap_status</a></code> error code such as <code><a class="el" href="group__group__errors.html#gafea66c256bdaa8376e12106e36307c02" title="A soap_status error code: XML element or attribute has a mismatching type or value that is causing a ...">SOAP_TYPE</a></code> when the string could not be converted.</p><dl class="section return"><dt>Returns</dt><dd><code><a class="el" href="group__group__errors.html#ga3b10a68f354f39cbb0fe0d043ad4c7c0" title="The soap_status code for no error (zero) ">SOAP_OK</a></code> or a <code><a class="el" href="group__group__errors.html#gac0eadf8f72bacb5b41b750beaeca0444" title="Status and error codes are int values, a zero value or SOAP_OK (0) means no error, nonzero means error. ">soap_status</a></code> error code </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">soap</td><td><code><a class="el" href="structsoap.html" title="Context with the engine state. ">soap</a></code> context </td></tr>
    <tr><td class="paramname">string</td><td>string to convert </td></tr>
    <tr><td class="paramname">value</td><td>pointer to a variable to assign the converted value to </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="gad5484b14580f14515e395e4ad83847ae"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int soap_s2LONG64 </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structsoap.html">soap</a> *&#160;</td>
          <td class="paramname"><em>soap</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>string</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__group__soap.html#ga78b36c5636eb5283d651b69d8684c6ae">LONG64</a> *&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Convert a decimal string to a signed 64 bit integer value. </p>
<p>This function converts the specified decimal string to a signed 64 bit integer value. Returns <code><a class="el" href="group__group__errors.html#ga3b10a68f354f39cbb0fe0d043ad4c7c0" title="The soap_status code for no error (zero) ">SOAP_OK</a></code> or a <code><a class="el" href="group__group__errors.html#gac0eadf8f72bacb5b41b750beaeca0444" title="Status and error codes are int values, a zero value or SOAP_OK (0) means no error, nonzero means error. ">soap_status</a></code> error code such as <code><a class="el" href="group__group__errors.html#gafea66c256bdaa8376e12106e36307c02" title="A soap_status error code: XML element or attribute has a mismatching type or value that is causing a ...">SOAP_TYPE</a></code> when the string could not be converted.</p><dl class="section return"><dt>Returns</dt><dd><code><a class="el" href="group__group__errors.html#ga3b10a68f354f39cbb0fe0d043ad4c7c0" title="The soap_status code for no error (zero) ">SOAP_OK</a></code> or a <code><a class="el" href="group__group__errors.html#gac0eadf8f72bacb5b41b750beaeca0444" title="Status and error codes are int values, a zero value or SOAP_OK (0) means no error, nonzero means error. ">soap_status</a></code> error code </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">soap</td><td><code><a class="el" href="structsoap.html" title="Context with the engine state. ">soap</a></code> context </td></tr>
    <tr><td class="paramname">string</td><td>string to convert </td></tr>
    <tr><td class="paramname">value</td><td>pointer to a variable to assign the converted value to </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga9e076039f02c6c4e36aca6ad359c3396"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int soap_s2QName </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structsoap.html">soap</a> *&#160;</td>
          <td class="paramname"><em>soap</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>string</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char **&#160;</td>
          <td class="paramname"><em>value</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"><em>minlen</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"><em>maxlen</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>pattern</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Copy a string (ASCII or UTF-8) to a new QName string while normalizing and validating the string contents. </p>
<p>This function copies the specified string to a new QName string allocated in managed memory. The specified string should be a QName or a space-separated list of QNames. A given QName is of the form <em><code>prefix:suffix</code></em> or <em><code>"URI":suffix</code></em>, where the latter is converted to the former form by this function by replacing the quoted URIs by prefixes using the <code><a class="el" href="group__group__namespace.html#gaabfac0a3b8d38498bc5e1e3bc465ead6" title="The global XML namespaces table with entries defined by the Namespace structure and populated in an ...">namespaces</a></code> table. The specified string is validated against the <code>minlen</code> and <code>maxlen</code> constraints and against the <code>pattern</code> XSD regex when non-NULL and when the <code><a class="el" href="group__group__callbacks.html#ga6a5e29b860d28f855c8d9a67c096d311" title="Callback to validate strings against XML regex patterns. ">soap::fsvalidate</a></code> callback is assigned to perform this check. The minimum and maximum length constraints are 0 and <code><a class="el" href="structsoap.html#aa5d564f947cbd74c29124972823fe775" title="User-definable maximum string length parsed from XML and JSON, initially set to SOAP_MAXLENGTH, zero or negative means unlimited (0 by default) ">soap::maxlength</a></code>, respectively, when <code>minlen</code> or <code>maxlen</code> are specified as negative values. The string length verification takes UTF-8 multi-byte encoding into account when the <code><a class="el" href="group__group__flags.html#ga9006d22d0abc39831dfe3ce1e491ce6f" title="soap_mode input/output flag value to serialize and deserialize 8-bit C/C++ strings containing UTF-8 e...">SOAP_C_UTFSTRING</a></code> mode flag is enabled. Returns <code><a class="el" href="group__group__errors.html#ga3b10a68f354f39cbb0fe0d043ad4c7c0" title="The soap_status code for no error (zero) ">SOAP_OK</a></code> or a <code><a class="el" href="group__group__errors.html#gac0eadf8f72bacb5b41b750beaeca0444" title="Status and error codes are int values, a zero value or SOAP_OK (0) means no error, nonzero means error. ">soap_status</a></code> error code.</p><dl class="section return"><dt>Returns</dt><dd><code><a class="el" href="group__group__errors.html#ga3b10a68f354f39cbb0fe0d043ad4c7c0" title="The soap_status code for no error (zero) ">SOAP_OK</a></code> or a <code><a class="el" href="group__group__errors.html#gac0eadf8f72bacb5b41b750beaeca0444" title="Status and error codes are int values, a zero value or SOAP_OK (0) means no error, nonzero means error. ">soap_status</a></code> error code </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">soap</td><td><code><a class="el" href="structsoap.html" title="Context with the engine state. ">soap</a></code> context </td></tr>
    <tr><td class="paramname">string</td><td>string to convert </td></tr>
    <tr><td class="paramname">value</td><td>pointer to a variable to assign the new string to </td></tr>
    <tr><td class="paramname">minlen</td><td>minimum string length constraint, when non-negative </td></tr>
    <tr><td class="paramname">maxlen</td><td>maximum string length constraint, when non-negative </td></tr>
    <tr><td class="paramname">pattern</td><td>XSD regex pattern constraint, when non-NULL </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="gac66dac26a9ee4b6c2c4ad037bfb86c66"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int soap_s2short </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structsoap.html">soap</a> *&#160;</td>
          <td class="paramname"><em>soap</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>string</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">short *&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Convert a decimal string to a signed 16 bit integer value. </p>
<p>This function converts the specified decimal string to a signed 16 bit integer value. Returns <code><a class="el" href="group__group__errors.html#ga3b10a68f354f39cbb0fe0d043ad4c7c0" title="The soap_status code for no error (zero) ">SOAP_OK</a></code> or a <code><a class="el" href="group__group__errors.html#gac0eadf8f72bacb5b41b750beaeca0444" title="Status and error codes are int values, a zero value or SOAP_OK (0) means no error, nonzero means error. ">soap_status</a></code> error code such as <code><a class="el" href="group__group__errors.html#gafea66c256bdaa8376e12106e36307c02" title="A soap_status error code: XML element or attribute has a mismatching type or value that is causing a ...">SOAP_TYPE</a></code> when the string could not be converted.</p><dl class="section return"><dt>Returns</dt><dd><code><a class="el" href="group__group__errors.html#ga3b10a68f354f39cbb0fe0d043ad4c7c0" title="The soap_status code for no error (zero) ">SOAP_OK</a></code> or a <code><a class="el" href="group__group__errors.html#gac0eadf8f72bacb5b41b750beaeca0444" title="Status and error codes are int values, a zero value or SOAP_OK (0) means no error, nonzero means error. ">soap_status</a></code> error code </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">soap</td><td><code><a class="el" href="structsoap.html" title="Context with the engine state. ">soap</a></code> context </td></tr>
    <tr><td class="paramname">string</td><td>string to convert </td></tr>
    <tr><td class="paramname">value</td><td>pointer to a variable to assign the converted value to </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="gad43ad9c67a6bbb47b27b3f1b44c240c6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int soap_s2stdchar </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structsoap.html">soap</a> *&#160;</td>
          <td class="paramname"><em>soap</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>string</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::string *&#160;</td>
          <td class="paramname"><em>value</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>flag</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"><em>minlen</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"><em>maxlen</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>pattern</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Copy a string (ASCII or UTF-8) to a new string while converting and validating the string contents. </p>
<p>This function copies the specified string to a new string allocated in managed memory. The specified string is validated against the <code>minlen</code> and <code>maxlen</code> constraints and against the <code>pattern</code> XSD regex when non-NULL and when the <code><a class="el" href="group__group__callbacks.html#ga6a5e29b860d28f855c8d9a67c096d311" title="Callback to validate strings against XML regex patterns. ">soap::fsvalidate</a></code> callback is assigned to perform this check. The minimum and maximum length constraints are 0 and <code><a class="el" href="structsoap.html#aa5d564f947cbd74c29124972823fe775" title="User-definable maximum string length parsed from XML and JSON, initially set to SOAP_MAXLENGTH, zero or negative means unlimited (0 by default) ">soap::maxlength</a></code>, respectively, when <code>minlen</code> or <code>maxlen</code> are specified as negative values. The string length verification takes UTF-8 multi-byte encoding into account when the <code><a class="el" href="group__group__flags.html#ga9006d22d0abc39831dfe3ce1e491ce6f" title="soap_mode input/output flag value to serialize and deserialize 8-bit C/C++ strings containing UTF-8 e...">SOAP_C_UTFSTRING</a></code> mode flag is enabled. The <code>flag</code> parameter controls the conversion as follows: 0 = no conversion, 4 = collapse white space and normalize white space with blanks, 5 = collapse white space. Returns <code><a class="el" href="group__group__errors.html#ga3b10a68f354f39cbb0fe0d043ad4c7c0" title="The soap_status code for no error (zero) ">SOAP_OK</a></code> or a <code><a class="el" href="group__group__errors.html#gac0eadf8f72bacb5b41b750beaeca0444" title="Status and error codes are int values, a zero value or SOAP_OK (0) means no error, nonzero means error. ">soap_status</a></code> error code.</p><dl class="section return"><dt>Returns</dt><dd><code><a class="el" href="group__group__errors.html#ga3b10a68f354f39cbb0fe0d043ad4c7c0" title="The soap_status code for no error (zero) ">SOAP_OK</a></code> or a <code><a class="el" href="group__group__errors.html#gac0eadf8f72bacb5b41b750beaeca0444" title="Status and error codes are int values, a zero value or SOAP_OK (0) means no error, nonzero means error. ">soap_status</a></code> error code </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">soap</td><td><code><a class="el" href="structsoap.html" title="Context with the engine state. ">soap</a></code> context </td></tr>
    <tr><td class="paramname">string</td><td>string to convert </td></tr>
    <tr><td class="paramname">value</td><td>pointer to a variable to assign the new string to </td></tr>
    <tr><td class="paramname">flag</td><td>controls conversion (0, 4 or 5) </td></tr>
    <tr><td class="paramname">minlen</td><td>minimum string length constraint, when non-negative </td></tr>
    <tr><td class="paramname">maxlen</td><td>maximum string length constraint, when non-negative </td></tr>
    <tr><td class="paramname">pattern</td><td>XSD regex pattern constraint, when non-NULL </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga594ac84f98046493740eb8a212f999fd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int soap_s2stdQName </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structsoap.html">soap</a> *&#160;</td>
          <td class="paramname"><em>soap</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>string</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::string *&#160;</td>
          <td class="paramname"><em>value</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"><em>minlen</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"><em>maxlen</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>pattern</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Copy a string (ASCII or UTF-8) to a new QName string while normalizing and validating the string contents. </p>
<p>This function copies the specified string to a new QName string allocated in managed memory. The specified string should be a QName or a space-separated list of QNames. A given QName is of the form <em><code>prefix:suffix</code></em> or <em><code>"URI":suffix</code></em>, where the latter is converted to the former form by this function by replacing the quoted URIs by prefixes using the <code><a class="el" href="group__group__namespace.html#gaabfac0a3b8d38498bc5e1e3bc465ead6" title="The global XML namespaces table with entries defined by the Namespace structure and populated in an ...">namespaces</a></code> table. The specified string is validated against the <code>minlen</code> and <code>maxlen</code> constraints and against the <code>pattern</code> XSD regex when non-NULL and when the <code><a class="el" href="group__group__callbacks.html#ga6a5e29b860d28f855c8d9a67c096d311" title="Callback to validate strings against XML regex patterns. ">soap::fsvalidate</a></code> callback is assigned to perform this check. The minimum and maximum length constraints are 0 and <code><a class="el" href="structsoap.html#aa5d564f947cbd74c29124972823fe775" title="User-definable maximum string length parsed from XML and JSON, initially set to SOAP_MAXLENGTH, zero or negative means unlimited (0 by default) ">soap::maxlength</a></code>, respectively, when <code>minlen</code> or <code>maxlen</code> are specified as negative values. The string length verification takes UTF-8 multi-byte encoding into account when the <code><a class="el" href="group__group__flags.html#ga9006d22d0abc39831dfe3ce1e491ce6f" title="soap_mode input/output flag value to serialize and deserialize 8-bit C/C++ strings containing UTF-8 e...">SOAP_C_UTFSTRING</a></code> mode flag is enabled. Returns <code><a class="el" href="group__group__errors.html#ga3b10a68f354f39cbb0fe0d043ad4c7c0" title="The soap_status code for no error (zero) ">SOAP_OK</a></code> or a <code><a class="el" href="group__group__errors.html#gac0eadf8f72bacb5b41b750beaeca0444" title="Status and error codes are int values, a zero value or SOAP_OK (0) means no error, nonzero means error. ">soap_status</a></code> error code.</p><dl class="section return"><dt>Returns</dt><dd><code><a class="el" href="group__group__errors.html#ga3b10a68f354f39cbb0fe0d043ad4c7c0" title="The soap_status code for no error (zero) ">SOAP_OK</a></code> or a <code><a class="el" href="group__group__errors.html#gac0eadf8f72bacb5b41b750beaeca0444" title="Status and error codes are int values, a zero value or SOAP_OK (0) means no error, nonzero means error. ">soap_status</a></code> error code </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">soap</td><td><code><a class="el" href="structsoap.html" title="Context with the engine state. ">soap</a></code> context </td></tr>
    <tr><td class="paramname">string</td><td>string to convert </td></tr>
    <tr><td class="paramname">value</td><td>pointer to a variable to assign the new string to </td></tr>
    <tr><td class="paramname">minlen</td><td>minimum string length constraint, when non-negative </td></tr>
    <tr><td class="paramname">maxlen</td><td>maximum string length constraint, when non-negative </td></tr>
    <tr><td class="paramname">pattern</td><td>XSD regex pattern constraint, when non-NULL </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga1b8640f25329a8939647a07ee02c06b8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int soap_s2stdwchar </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structsoap.html">soap</a> *&#160;</td>
          <td class="paramname"><em>soap</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>string</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::wstring *&#160;</td>
          <td class="paramname"><em>value</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>flag</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"><em>minlen</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"><em>maxlen</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>pattern</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Copy a string (ASCII or UTF-8) to a new wide string while converting and validating the string contents. </p>
<p>This function copies the specified string to a new wide string allocated in managed memory. When the <code><a class="el" href="group__group__flags.html#ga9006d22d0abc39831dfe3ce1e491ce6f" title="soap_mode input/output flag value to serialize and deserialize 8-bit C/C++ strings containing UTF-8 e...">SOAP_C_UTFSTRING</a></code> mode flag is enabled the specified string should contain UTF-8 contents or ASCII otherwise. The specified string is validated against the <code>minlen</code> and <code>maxlen</code> constraints and against the <code>pattern</code> XSD regex when non-NULL and when the <code><a class="el" href="group__group__callbacks.html#ga6a5e29b860d28f855c8d9a67c096d311" title="Callback to validate strings against XML regex patterns. ">soap::fsvalidate</a></code> callback is assigned to perform this check. The minimum and maximum length constraints are 0 and <code><a class="el" href="structsoap.html#aa5d564f947cbd74c29124972823fe775" title="User-definable maximum string length parsed from XML and JSON, initially set to SOAP_MAXLENGTH, zero or negative means unlimited (0 by default) ">soap::maxlength</a></code>, respectively, when <code>minlen</code> or <code>maxlen</code> are specified as negative values. The <code>flag</code> parameter controls the conversion as follows: 0 = no conversion, 4 = collapse white space and normalize white space with blanks, 5 = collapse white space. Returns <code><a class="el" href="group__group__errors.html#ga3b10a68f354f39cbb0fe0d043ad4c7c0" title="The soap_status code for no error (zero) ">SOAP_OK</a></code> or a <code><a class="el" href="group__group__errors.html#gac0eadf8f72bacb5b41b750beaeca0444" title="Status and error codes are int values, a zero value or SOAP_OK (0) means no error, nonzero means error. ">soap_status</a></code> error code.</p>
<dl class="section see"><dt>See also</dt><dd><code><a class="el" href="group__group__flags.html#ga9006d22d0abc39831dfe3ce1e491ce6f" title="soap_mode input/output flag value to serialize and deserialize 8-bit C/C++ strings containing UTF-8 e...">SOAP_C_UTFSTRING</a></code>, <code><a class="el" href="group__group__with.html#gaa3632d9a171ac29a7cb4a4c4861d8e8d" title="When this macro is defined at compile time (undefined by default), replaces UTF-8 content that is out...">WITH_REPLACE_ILLEGAL_UTF8</a></code>, <code><a class="el" href="group__group__soap.html#gaafe757ff5b99e03ae2c7814dedf9aa8e" title="A user-definable integer Unicode value representing a character that replaces an invalid Unicode code...">SOAP_UNKNOWN_UNICODE_CHAR</a></code>.</dd></dl>
<dl class="section return"><dt>Returns</dt><dd><code><a class="el" href="group__group__errors.html#ga3b10a68f354f39cbb0fe0d043ad4c7c0" title="The soap_status code for no error (zero) ">SOAP_OK</a></code> or a <code><a class="el" href="group__group__errors.html#gac0eadf8f72bacb5b41b750beaeca0444" title="Status and error codes are int values, a zero value or SOAP_OK (0) means no error, nonzero means error. ">soap_status</a></code> error code </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">soap</td><td><code><a class="el" href="structsoap.html" title="Context with the engine state. ">soap</a></code> context </td></tr>
    <tr><td class="paramname">string</td><td>string to convert </td></tr>
    <tr><td class="paramname">value</td><td>pointer to a variable to assign the new string to </td></tr>
    <tr><td class="paramname">flag</td><td>controls conversion (0, 4 or 5) </td></tr>
    <tr><td class="paramname">minlen</td><td>minimum string length constraint, when non-negative </td></tr>
    <tr><td class="paramname">maxlen</td><td>maximum string length constraint, when non-negative </td></tr>
    <tr><td class="paramname">pattern</td><td>XSD regex pattern constraint, when non-NULL </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga3e2c60a976116ffa36e8ea9ee98c8a94"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int soap_s2ULONG64 </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structsoap.html">soap</a> *&#160;</td>
          <td class="paramname"><em>soap</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>string</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__group__soap.html#ga7c6e38d209f60a18e362172dca1a3b6e">ULONG64</a> *&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Convert a decimal string to an unsigned 64 bit integer value. </p>
<p>This function converts the specified decimal string to an unsigned 64 bit integer value. Returns <code><a class="el" href="group__group__errors.html#ga3b10a68f354f39cbb0fe0d043ad4c7c0" title="The soap_status code for no error (zero) ">SOAP_OK</a></code> or a <code><a class="el" href="group__group__errors.html#gac0eadf8f72bacb5b41b750beaeca0444" title="Status and error codes are int values, a zero value or SOAP_OK (0) means no error, nonzero means error. ">soap_status</a></code> error code such as <code><a class="el" href="group__group__errors.html#gafea66c256bdaa8376e12106e36307c02" title="A soap_status error code: XML element or attribute has a mismatching type or value that is causing a ...">SOAP_TYPE</a></code> when the string could not be converted.</p><dl class="section return"><dt>Returns</dt><dd><code><a class="el" href="group__group__errors.html#ga3b10a68f354f39cbb0fe0d043ad4c7c0" title="The soap_status code for no error (zero) ">SOAP_OK</a></code> or a <code><a class="el" href="group__group__errors.html#gac0eadf8f72bacb5b41b750beaeca0444" title="Status and error codes are int values, a zero value or SOAP_OK (0) means no error, nonzero means error. ">soap_status</a></code> error code </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">soap</td><td><code><a class="el" href="structsoap.html" title="Context with the engine state. ">soap</a></code> context </td></tr>
    <tr><td class="paramname">string</td><td>string to convert </td></tr>
    <tr><td class="paramname">value</td><td>pointer to a variable to assign the converted value to </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="gaabd48d059617ce04b24e41b7f2e763e6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int soap_s2unsignedByte </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structsoap.html">soap</a> *&#160;</td>
          <td class="paramname"><em>soap</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>string</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned char *&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Convert a decimal string to an unsigned 8 bit byte (unsigned char) integer value. </p>
<p>This function converts the specified decimal string to an unsigned 8 bit byte (unsigned char) integer value. Returns <code><a class="el" href="group__group__errors.html#ga3b10a68f354f39cbb0fe0d043ad4c7c0" title="The soap_status code for no error (zero) ">SOAP_OK</a></code> or a <code><a class="el" href="group__group__errors.html#gac0eadf8f72bacb5b41b750beaeca0444" title="Status and error codes are int values, a zero value or SOAP_OK (0) means no error, nonzero means error. ">soap_status</a></code> error code such as <code><a class="el" href="group__group__errors.html#gafea66c256bdaa8376e12106e36307c02" title="A soap_status error code: XML element or attribute has a mismatching type or value that is causing a ...">SOAP_TYPE</a></code> when the string could not be converted.</p><dl class="section return"><dt>Returns</dt><dd><code><a class="el" href="group__group__errors.html#ga3b10a68f354f39cbb0fe0d043ad4c7c0" title="The soap_status code for no error (zero) ">SOAP_OK</a></code> or a <code><a class="el" href="group__group__errors.html#gac0eadf8f72bacb5b41b750beaeca0444" title="Status and error codes are int values, a zero value or SOAP_OK (0) means no error, nonzero means error. ">soap_status</a></code> error code </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">soap</td><td><code><a class="el" href="structsoap.html" title="Context with the engine state. ">soap</a></code> context </td></tr>
    <tr><td class="paramname">string</td><td>string to convert </td></tr>
    <tr><td class="paramname">value</td><td>pointer to a variable to assign the converted value to </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga35d88ab5e0ef2260f7f5b1e48c7d5a30"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int soap_s2unsignedInt </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structsoap.html">soap</a> *&#160;</td>
          <td class="paramname"><em>soap</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>string</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int *&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Convert a decimal string to an unsigned 32 bit integer value. </p>
<p>This function converts the specified decimal string to an unsigned 32 bit integer value. Returns <code><a class="el" href="group__group__errors.html#ga3b10a68f354f39cbb0fe0d043ad4c7c0" title="The soap_status code for no error (zero) ">SOAP_OK</a></code> or a <code><a class="el" href="group__group__errors.html#gac0eadf8f72bacb5b41b750beaeca0444" title="Status and error codes are int values, a zero value or SOAP_OK (0) means no error, nonzero means error. ">soap_status</a></code> error code such as <code><a class="el" href="group__group__errors.html#gafea66c256bdaa8376e12106e36307c02" title="A soap_status error code: XML element or attribute has a mismatching type or value that is causing a ...">SOAP_TYPE</a></code> when the string could not be converted.</p><dl class="section return"><dt>Returns</dt><dd><code><a class="el" href="group__group__errors.html#ga3b10a68f354f39cbb0fe0d043ad4c7c0" title="The soap_status code for no error (zero) ">SOAP_OK</a></code> or a <code><a class="el" href="group__group__errors.html#gac0eadf8f72bacb5b41b750beaeca0444" title="Status and error codes are int values, a zero value or SOAP_OK (0) means no error, nonzero means error. ">soap_status</a></code> error code </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">soap</td><td><code><a class="el" href="structsoap.html" title="Context with the engine state. ">soap</a></code> context </td></tr>
    <tr><td class="paramname">string</td><td>string to convert </td></tr>
    <tr><td class="paramname">value</td><td>pointer to a variable to assign the converted value to </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga3e065f642786ce4817fb87c017a7c9de"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int soap_s2unsignedLong </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structsoap.html">soap</a> *&#160;</td>
          <td class="paramname"><em>soap</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>string</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned long *&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Convert a decimal string to an unsigned <code>long</code> integer value. </p>
<p>This function converts the specified decimal string to an unsigned <code>long</code> integer value. Returns <code><a class="el" href="group__group__errors.html#ga3b10a68f354f39cbb0fe0d043ad4c7c0" title="The soap_status code for no error (zero) ">SOAP_OK</a></code> or a <code><a class="el" href="group__group__errors.html#gac0eadf8f72bacb5b41b750beaeca0444" title="Status and error codes are int values, a zero value or SOAP_OK (0) means no error, nonzero means error. ">soap_status</a></code> error code such as <code><a class="el" href="group__group__errors.html#gafea66c256bdaa8376e12106e36307c02" title="A soap_status error code: XML element or attribute has a mismatching type or value that is causing a ...">SOAP_TYPE</a></code> when the string could not be converted.</p><dl class="section return"><dt>Returns</dt><dd><code><a class="el" href="group__group__errors.html#ga3b10a68f354f39cbb0fe0d043ad4c7c0" title="The soap_status code for no error (zero) ">SOAP_OK</a></code> or a <code><a class="el" href="group__group__errors.html#gac0eadf8f72bacb5b41b750beaeca0444" title="Status and error codes are int values, a zero value or SOAP_OK (0) means no error, nonzero means error. ">soap_status</a></code> error code </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">soap</td><td><code><a class="el" href="structsoap.html" title="Context with the engine state. ">soap</a></code> context </td></tr>
    <tr><td class="paramname">string</td><td>string to convert </td></tr>
    <tr><td class="paramname">value</td><td>pointer to a variable to assign the converted value to </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="gaa425119b4c7f3ab0883131b8e8751bc3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int soap_s2unsignedShort </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structsoap.html">soap</a> *&#160;</td>
          <td class="paramname"><em>soap</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>string</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned short *&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Convert a decimal string to an unsigned 16 bit integer value. </p>
<p>This function converts the specified decimal string to an unsigned 16 bit integer value. Returns <code><a class="el" href="group__group__errors.html#ga3b10a68f354f39cbb0fe0d043ad4c7c0" title="The soap_status code for no error (zero) ">SOAP_OK</a></code> or a <code><a class="el" href="group__group__errors.html#gac0eadf8f72bacb5b41b750beaeca0444" title="Status and error codes are int values, a zero value or SOAP_OK (0) means no error, nonzero means error. ">soap_status</a></code> error code such as <code><a class="el" href="group__group__errors.html#gafea66c256bdaa8376e12106e36307c02" title="A soap_status error code: XML element or attribute has a mismatching type or value that is causing a ...">SOAP_TYPE</a></code> when the string could not be converted.</p><dl class="section return"><dt>Returns</dt><dd><code><a class="el" href="group__group__errors.html#ga3b10a68f354f39cbb0fe0d043ad4c7c0" title="The soap_status code for no error (zero) ">SOAP_OK</a></code> or a <code><a class="el" href="group__group__errors.html#gac0eadf8f72bacb5b41b750beaeca0444" title="Status and error codes are int values, a zero value or SOAP_OK (0) means no error, nonzero means error. ">soap_status</a></code> error code </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">soap</td><td><code><a class="el" href="structsoap.html" title="Context with the engine state. ">soap</a></code> context </td></tr>
    <tr><td class="paramname">string</td><td>string to convert </td></tr>
    <tr><td class="paramname">value</td><td>pointer to a variable to assign the converted value to </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga0632532cd90c207c0157bf96acd89ca0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int soap_s2wchar </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structsoap.html">soap</a> *&#160;</td>
          <td class="paramname"><em>soap</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>string</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">wchar_t **&#160;</td>
          <td class="paramname"><em>value</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>flag</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"><em>minlen</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"><em>maxlen</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>pattern</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Copy a string (ASCII or UTF-8) to a new wide string while converting and validating the string contents. </p>
<p>This function copies the specified string to a new wide string allocated in managed memory. When the <code><a class="el" href="group__group__flags.html#ga9006d22d0abc39831dfe3ce1e491ce6f" title="soap_mode input/output flag value to serialize and deserialize 8-bit C/C++ strings containing UTF-8 e...">SOAP_C_UTFSTRING</a></code> mode flag is enabled the specified string should contain UTF-8 contents or ASCII otherwise. The specified string is validated against the <code>minlen</code> and <code>maxlen</code> constraints and against the <code>pattern</code> XSD regex when non-NULL and when the <code><a class="el" href="group__group__callbacks.html#ga6a5e29b860d28f855c8d9a67c096d311" title="Callback to validate strings against XML regex patterns. ">soap::fsvalidate</a></code> callback is assigned to perform this check. The minimum and maximum length constraints are 0 and <code><a class="el" href="structsoap.html#aa5d564f947cbd74c29124972823fe775" title="User-definable maximum string length parsed from XML and JSON, initially set to SOAP_MAXLENGTH, zero or negative means unlimited (0 by default) ">soap::maxlength</a></code>, respectively, when <code>minlen</code> or <code>maxlen</code> are specified as negative values. The <code>flag</code> parameter controls the conversion as follows: 0 = no conversion, 4 = collapse white space and normalize white space with blanks, 5 = collapse white space. Returns <code><a class="el" href="group__group__errors.html#ga3b10a68f354f39cbb0fe0d043ad4c7c0" title="The soap_status code for no error (zero) ">SOAP_OK</a></code> or a <code><a class="el" href="group__group__errors.html#gac0eadf8f72bacb5b41b750beaeca0444" title="Status and error codes are int values, a zero value or SOAP_OK (0) means no error, nonzero means error. ">soap_status</a></code> error code.</p>
<dl class="section see"><dt>See also</dt><dd><code><a class="el" href="group__group__flags.html#ga9006d22d0abc39831dfe3ce1e491ce6f" title="soap_mode input/output flag value to serialize and deserialize 8-bit C/C++ strings containing UTF-8 e...">SOAP_C_UTFSTRING</a></code>, <code><a class="el" href="group__group__with.html#gaa3632d9a171ac29a7cb4a4c4861d8e8d" title="When this macro is defined at compile time (undefined by default), replaces UTF-8 content that is out...">WITH_REPLACE_ILLEGAL_UTF8</a></code>, <code><a class="el" href="group__group__soap.html#gaafe757ff5b99e03ae2c7814dedf9aa8e" title="A user-definable integer Unicode value representing a character that replaces an invalid Unicode code...">SOAP_UNKNOWN_UNICODE_CHAR</a></code>.</dd></dl>
<dl class="section return"><dt>Returns</dt><dd><code><a class="el" href="group__group__errors.html#ga3b10a68f354f39cbb0fe0d043ad4c7c0" title="The soap_status code for no error (zero) ">SOAP_OK</a></code> or a <code><a class="el" href="group__group__errors.html#gac0eadf8f72bacb5b41b750beaeca0444" title="Status and error codes are int values, a zero value or SOAP_OK (0) means no error, nonzero means error. ">soap_status</a></code> error code </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">soap</td><td><code><a class="el" href="structsoap.html" title="Context with the engine state. ">soap</a></code> context </td></tr>
    <tr><td class="paramname">string</td><td>string to convert </td></tr>
    <tr><td class="paramname">value</td><td>pointer to a variable to assign the new string to </td></tr>
    <tr><td class="paramname">flag</td><td>controls conversion (0, 4 or 5) </td></tr>
    <tr><td class="paramname">minlen</td><td>minimum string length constraint, when non-negative </td></tr>
    <tr><td class="paramname">maxlen</td><td>maximum string length constraint, when non-negative </td></tr>
    <tr><td class="paramname">pattern</td><td>XSD regex pattern constraint, when non-NULL </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="gae8084377de7574fffbac00a6ec2fec43"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* soap_short2s </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structsoap.html">soap</a> *&#160;</td>
          <td class="paramname"><em>soap</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">short&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Convert a signed 16 bit integer to a decimal string. </p>
<p>This function converts the specified signed 16 bit integer to a decimal string stored in the temporary buffer <code><a class="el" href="structsoap.html#a194bcafed0c3e368b92f452fc80b2d31" title="Internal buffer to hold temporary strings such as string representations of primitive values...">soap::tmpbuf</a></code>. Returns <code><a class="el" href="structsoap.html#a194bcafed0c3e368b92f452fc80b2d31" title="Internal buffer to hold temporary strings such as string representations of primitive values...">soap::tmpbuf</a></code>.</p><dl class="section return"><dt>Returns</dt><dd>the decimal number stored in the <code><a class="el" href="structsoap.html#a194bcafed0c3e368b92f452fc80b2d31" title="Internal buffer to hold temporary strings such as string representations of primitive values...">soap::tmpbuf</a></code> string buffer </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">soap</td><td><code><a class="el" href="structsoap.html" title="Context with the engine state. ">soap</a></code> context </td></tr>
    <tr><td class="paramname">value</td><td>integer value to convert to decimal string </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="gac65a7d227edbd6713113561962f992b8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* soap_ULONG642s </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structsoap.html">soap</a> *&#160;</td>
          <td class="paramname"><em>soap</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__group__soap.html#ga7c6e38d209f60a18e362172dca1a3b6e">ULONG64</a>&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Convert an unsigned 64 bit integer to a decimal string. </p>
<p>This function converts the specified unsigned 64 bit integer to a decimal string stored in the temporary buffer <code><a class="el" href="structsoap.html#a194bcafed0c3e368b92f452fc80b2d31" title="Internal buffer to hold temporary strings such as string representations of primitive values...">soap::tmpbuf</a></code>. Returns <code><a class="el" href="structsoap.html#a194bcafed0c3e368b92f452fc80b2d31" title="Internal buffer to hold temporary strings such as string representations of primitive values...">soap::tmpbuf</a></code>.</p><dl class="section return"><dt>Returns</dt><dd>the decimal number stored in the <code><a class="el" href="structsoap.html#a194bcafed0c3e368b92f452fc80b2d31" title="Internal buffer to hold temporary strings such as string representations of primitive values...">soap::tmpbuf</a></code> string buffer </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">soap</td><td><code><a class="el" href="structsoap.html" title="Context with the engine state. ">soap</a></code> context </td></tr>
    <tr><td class="paramname">value</td><td>integer value to convert to decimal string </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga6da39f8ce07f4a3de37de6c5ce33ed83"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* soap_unsignedByte2s </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structsoap.html">soap</a> *&#160;</td>
          <td class="paramname"><em>soap</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned char&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Convert an unsigned 8 bit byte (char) integer to a decimal string. </p>
<p>This function converts the specified unsigned 8 bit byte (char) integer to a decimal string stored in the temporary buffer <code><a class="el" href="structsoap.html#a194bcafed0c3e368b92f452fc80b2d31" title="Internal buffer to hold temporary strings such as string representations of primitive values...">soap::tmpbuf</a></code>. Returns <code><a class="el" href="structsoap.html#a194bcafed0c3e368b92f452fc80b2d31" title="Internal buffer to hold temporary strings such as string representations of primitive values...">soap::tmpbuf</a></code>.</p><dl class="section return"><dt>Returns</dt><dd>the decimal number stored in the <code><a class="el" href="structsoap.html#a194bcafed0c3e368b92f452fc80b2d31" title="Internal buffer to hold temporary strings such as string representations of primitive values...">soap::tmpbuf</a></code> string buffer </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">soap</td><td><code><a class="el" href="structsoap.html" title="Context with the engine state. ">soap</a></code> context </td></tr>
    <tr><td class="paramname">value</td><td>integer value to convert to decimal string </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga02470ecf340d6aedc3998252de8d69b1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* soap_unsignedInt2s </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structsoap.html">soap</a> *&#160;</td>
          <td class="paramname"><em>soap</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Convert an unsigned 32 bit integer to a decimal string. </p>
<p>This function converts the specified unsigned 32 bit integer to a decimal string stored in the temporary buffer <code><a class="el" href="structsoap.html#a194bcafed0c3e368b92f452fc80b2d31" title="Internal buffer to hold temporary strings such as string representations of primitive values...">soap::tmpbuf</a></code>. Returns <code><a class="el" href="structsoap.html#a194bcafed0c3e368b92f452fc80b2d31" title="Internal buffer to hold temporary strings such as string representations of primitive values...">soap::tmpbuf</a></code>.</p><dl class="section return"><dt>Returns</dt><dd>the decimal number stored in the <code><a class="el" href="structsoap.html#a194bcafed0c3e368b92f452fc80b2d31" title="Internal buffer to hold temporary strings such as string representations of primitive values...">soap::tmpbuf</a></code> string buffer </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">soap</td><td><code><a class="el" href="structsoap.html" title="Context with the engine state. ">soap</a></code> context </td></tr>
    <tr><td class="paramname">value</td><td>integer value to convert to decimal string </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="gaa41e355261031f11c752ebaf702aa871"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* soap_unsignedLong2s </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structsoap.html">soap</a> *&#160;</td>
          <td class="paramname"><em>soap</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned long&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Convert an unsigned <code>long</code> integer to a decimal string. </p>
<p>This function converts the specified unsigned <code>long</code> integer to a decimal string stored in the temporary buffer <code><a class="el" href="structsoap.html#a194bcafed0c3e368b92f452fc80b2d31" title="Internal buffer to hold temporary strings such as string representations of primitive values...">soap::tmpbuf</a></code>. Returns <code><a class="el" href="structsoap.html#a194bcafed0c3e368b92f452fc80b2d31" title="Internal buffer to hold temporary strings such as string representations of primitive values...">soap::tmpbuf</a></code>.</p><dl class="section return"><dt>Returns</dt><dd>the decimal number stored in the <code><a class="el" href="structsoap.html#a194bcafed0c3e368b92f452fc80b2d31" title="Internal buffer to hold temporary strings such as string representations of primitive values...">soap::tmpbuf</a></code> string buffer </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">soap</td><td><code><a class="el" href="structsoap.html" title="Context with the engine state. ">soap</a></code> context </td></tr>
    <tr><td class="paramname">value</td><td>integer value to convert to decimal string </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga406071af347fbb537e4e5d8b78899e75"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* soap_unsignedShort2s </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structsoap.html">soap</a> *&#160;</td>
          <td class="paramname"><em>soap</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned short&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Convert an unsigned 16 bit integer to a decimal string. </p>
<p>This function converts the specified unsigned 16 bit integer to a decimal string stored in the temporary buffer <code><a class="el" href="structsoap.html#a194bcafed0c3e368b92f452fc80b2d31" title="Internal buffer to hold temporary strings such as string representations of primitive values...">soap::tmpbuf</a></code>. Returns <code><a class="el" href="structsoap.html#a194bcafed0c3e368b92f452fc80b2d31" title="Internal buffer to hold temporary strings such as string representations of primitive values...">soap::tmpbuf</a></code>.</p><dl class="section return"><dt>Returns</dt><dd>the decimal number stored in the <code><a class="el" href="structsoap.html#a194bcafed0c3e368b92f452fc80b2d31" title="Internal buffer to hold temporary strings such as string representations of primitive values...">soap::tmpbuf</a></code> string buffer </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">soap</td><td><code><a class="el" href="structsoap.html" title="Context with the engine state. ">soap</a></code> context </td></tr>
    <tr><td class="paramname">value</td><td>integer value to convert to decimal string </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="gac263a15330f17ac7e71a3e3ff3214f5d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* soap_wchar2s </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structsoap.html">soap</a> *&#160;</td>
          <td class="paramname"><em>soap</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const wchar_t *&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Convert a wide string to a UTF-8 encoded string. </p>
<p>This function converts the specified wide string to a UTF-8 encoded string allocated in managed memory. Returns the resulting string or NULL when an error occurred and sets <code><a class="el" href="structsoap.html#ab85f5d42702963d13ea540bd9876e6d2" title="The soap context soap_status (int) error code of the last operation or SOAP_OK (zero) ...">soap::error</a></code> to a <code><a class="el" href="group__group__errors.html#gac0eadf8f72bacb5b41b750beaeca0444" title="Status and error codes are int values, a zero value or SOAP_OK (0) means no error, nonzero means error. ">soap_status</a></code> value.</p>
<dl class="section see"><dt>See also</dt><dd><code><a class="el" href="group__group__with.html#gaa3632d9a171ac29a7cb4a4c4861d8e8d" title="When this macro is defined at compile time (undefined by default), replaces UTF-8 content that is out...">WITH_REPLACE_ILLEGAL_UTF8</a></code>, <code><a class="el" href="group__group__soap.html#gaafe757ff5b99e03ae2c7814dedf9aa8e" title="A user-definable integer Unicode value representing a character that replaces an invalid Unicode code...">SOAP_UNKNOWN_UNICODE_CHAR</a></code>.</dd></dl>
<dl class="section return"><dt>Returns</dt><dd>UTF-8 encoded string allocated in managed memory or NULL when an error occurred </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">soap</td><td><code><a class="el" href="structsoap.html" title="Context with the engine state. ">soap</a></code> context </td></tr>
    <tr><td class="paramname">value</td><td>wide string to convert </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<hr class="footer">
<address class="footer">
Copyright (C) 2021, Robert van Engelen, Genivia Inc., All Rights Reserved.
</address>
<address class="footer"><small>
Converted on Tue Apr 20 2021 19:48:13 by <a target="_blank" href="http://www.doxygen.org/index.html">Doxygen</a> 1.8.11</small></address>
<br>
<div style="height: 246px; background: #DBDBDB;">
</body>
</html>
